package com.example.it_com.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.Date;

@Data
public class Postcomment {
    private Integer commentId;
    private Integer postId;
    private Integer userId;
    private String pcContent;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime pcCreated;
    private Integer pcLikecount;
}
